package model.command;
import controller.KeyListeners.KeyListenerSet;
/**
 *
 * @author joseph
 */
public class CreateRanged extends Create{
    private CreateSoldierable factory;
    public CreateRanged(CreateSoldierable factory){
        super();
        setFactory(factory);
    }
    @Override
    public CreateRanged clone() {
        return new CreateRanged(factory);
    }
    @Override
    public void executeCommand() {
        factory.createRanged();
    }
    private void setFactory(CreateSoldierable factory){
        this.factory = factory;
    }
    @Override
    public String toString(){
        return "Create Ranged";
    }
}
